package com.thesis.dao;

import com.thesis.entity.SysFile;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

public interface SysFileMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysFile record);

    int insertSelective(SysFile record);

    SysFile selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysFile record);

    int updateByPrimaryKey(SysFile record);

    Page<SysFile> findPageList(@Param("queryParam") SysFile record);

    Page<SysFile> findPageListByVague(@Param("queryParam")SysFile queryParam, @Param("vagueParam") String vagueParam);

    Integer deleteBatchByIds(List<Integer> idList);

    Integer deleteBySysFile(SysFile record);

    Integer deleteBatchByMap(HashMap map);
}